package com.hx.vending.service;

import com.hx.vending.bean.Rise;
import com.hx.vending.util.Msg;

/**
 * Created by Administrator on 2018/11/28.
 * 层
 */
public interface IRiseService {

    /**
     * 添加或修改层信息
     * @param rise
     * @return
     */
    Msg updateOrInsertRise(Rise rise);

    /**
     * 删除层信息
     * @param riseId
     * @return
     */
    Msg deleteRise(Integer modelId, Integer riseId);

    /**
     * 根据设备id删除层
     * @param equipmentId
     * @return
     */
    int deleteRiseByEquipmentId(String equipmentId);
}
